package day9;
public class Person {
    //会员卡里面的钱和积分全部定义为静态方法
    public static int money=1000;
    public static int jifeng=1000;
    public static int getMoney() {
        return money;
    }

    public static void setMoney(int money) {
        Person.money = money;
    }

    public static int getJifeng() {
        return jifeng;
    }

    public static void setJifeng(int jifeng) {
        Person.jifeng = jifeng;
    }
}


